<?php

namespace Modules\Edu\Http\Controllers\Center;

use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\Routing\Controller;
use Modules\Edu\Entities\User;

class FollowerController extends Controller
{
    /**
     * Display a listing of the resource.
     * @return Response
     */
    public function index(User $user)
    {
        $followers = $user->followers()->paginate();
        return view('edu::center.follower', compact('user', 'followers'));
    }


}
